package Ch4;

/**
 * Created by Cai Ye on 2016/3/25.
 */
public class OceanWorld4Airplane implements OceanWorld3Flyer {
    protected String name;

    public OceanWorld4Airplane(String name) {
        this.name = name;
    }

    @Override
    public void fly() {
        System.out.printf("飞机 %s 在飞%n", name);
    }
}
